# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=sierrabreezeenhanced
pkgver=0.9.4
pkgrel=0
pkgdesc="A fork of BreezeEnhanced to make it (arguably) more minimalistic and informative"
url="https://github.com/kupiqu/SierraBreezeEnhanced"
arch="all !armhf" # kcoreaddons missing
license="LicenseRef-KDE-Accepted-GPL"
makedepends="extra-cmake-modules qt5-qtbase-dev kdecoration-dev kcoreaddons-dev kguiaddons-dev kconfigwidgets-dev kwindowsystem-dev ki18n-dev kiconthemes-dev"
source="https://github.com/kupiqu/SierraBreezeEnhanced/archive/V$pkgver/SierraBreezeEnhanced-V$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/SierraBreezeEnhanced-$pkgver"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="651036b25f5550e20d6f1aa42ccec02cb8431c2d1175a5648ae8b3dc11da16aa7434999e897005d32b3b532294d9d44073f02186f8d3418c7543a9b60dea4aa5  SierraBreezeEnhanced-V0.9.4.tar.gz"
